package com.hmy.infrastructure.api.bo.response.dingtalk;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 获取企业内部应用access_token返回消息
 * @author lihui
 * @description: TODO
 * @date 2023/11/22
 */
@Data
@ApiModel(value = "获取企业内部应用access_token返回消息", description = "获取企业内部应用access_token返回消息")
public class GetAppTokenResponse {

    @ApiModelProperty(value = "错误码")
    @JsonProperty(value = "errcode")
    private int errCode;

    @ApiModelProperty(value = "鉴权token")
    @JsonProperty(value = "access_token")
    private String accessToken;

    @ApiModelProperty(value = "错误描述")
    @JsonProperty(value = "errmsg")
    private String errMsg;

    @ApiModelProperty(value = "过期时间")
    @JsonProperty(value = "expires_in")
    private int expiresIn;
}
